package com.xushi.dao;

import com.xushi.model.VeriCode;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Sun on 2018/6/2.
 */
@Repository("veriCodeDao")
public interface VeriCodeRepository extends CrudRepository<VeriCode, Integer> {
    VeriCode findByPhoneNumber(String phoneNumber);
}
